﻿<%@ Page Language="C#"%>
<%@ Import Namespace="Obsidian.Web" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>后台页面标题</title>
    <%=JsLibrary.IncludeHtml("jquery-easyui-1.3.2")%>
    <%=JsLibrary.IncludeHtml("onyx-full")%>
    <%=JsLibrary.IncludeHtml("oak.resource.widget") %>
    <%=Obsidian.Utils.WebUtil.IncludeCssHtml("../css/common.css") %>
    <%=Obsidian.Utils.WebUtil.IncludeJsHtml("../js/CommonUtil.js,[#ClsName#].js") %>
</head>
<body class="easyui-layout">
    <div id="center" data-options="region:'center',title:[#ClsName#]列表'">
        <div id="divCntToolBar" style="padding: 8px; margin: 2px;">
            是否有效：<select id="selEnable" class="easyui-combobox" data-options="editable:false,panelHeight:'auto'">
                <option value="1">启用</option>
                <option value="0">禁用</option>
            </select>
            关键字：<input id="searchKeyword" type="text" maxlength="20" style="width: 100px" />
            <a id="btnSearch" href="#" class="easyui-linkbutton" plain="true" iconcls="icon-search">搜索</a>
            <a id="btnAdd" href="#" class="easyui-linkbutton" iconcls="icon-add" plain="true">新建</a>
            <a id="btnEdit" href="#" class="easyui-linkbutton" iconcls="icon-edit" plain="true">编辑</a>
            <a id="btnDelete" href="#" class="easyui-linkbutton" iconcls="icon-remove" plain="true">删除</a>
            <a id="btnUnSelect" href="#" class="easyui-linkbutton" iconcls="icon-undo" plain="true">取消选择</a>
        </div>
        <div id="divCenter" style="width: 100%; height: 100%">
            <table id="tbCenter" title="" style="overflow: hidden; width: 100%; height: 100%;">
                <thead>
                    <tr>
                        <th data-options="field:'ck', checkbox:true"></th>
						[#ColumnsTh#]
                    </tr>
                </thead>
            </table>
        </div>
    </div>

    <div id="divEdit" class="easyui-window" title="[#ClsName#]表单" style="width: 560px; height: 300px; padding: 5px;"
        data-options="iconCls:'icon-save', modal:true, closed:true, draggable: true, minimizable:false,maximizable:false,resizable:false">
        <div class="easyui-layout" data-options="fit:true">
            <form id="formEdit" method="post">
                <div data-options="region:'center',border:false" style="padding: 10px; background: #fff; border: 1px solid #ccc;">
                    <table class="formTable" style="margin:0; padding: 0; width: 100%;">
						[#ColumnsTR#]
                    </table>
                </div>
				
                <div data-options="region:'south',border:false" style="text-align: right; padding: 5px 0;">
                    <a id="formSubmit" href="#" class="easyui-linkbutton" plain="true" iconcls="icon-save">确认</a>
                    <a id="formBack" href="#" class="easyui-linkbutton" plain="true" iconcls="icon-undo">返回</a>
                </div>
            </form>
        </div>
    </div>
</body>
</html>
